home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
- <background>
- <id>2543</id>
- <filler1>0</filler1>
- <bitmap>BMAP_4875.pbm</bitmap>
- <cantDelete> <false /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <link rel="stylesheet" type="text/css" href="stylesheet_7817.css" />
- <part>
- <id>1</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>84</left>
- <top>219</top>
- <right>108</right>
- <bottom>241</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>J</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "JXEZVQ"
- end Roll</script>
- </part>
- <part>
- <id>2</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>110</left>
- <top>216</top>
- <right>133</right>
- <bottom>238</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>B</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "RKHTBI"
- end Roll</script>
- </part>
- <part>
- <id>4</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>149</left>
- <top>219</top>
- <right>172</right>
- <bottom>241</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>U</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "TIFPNU"
- end Roll</script>
- </part>
- <part>
- <id>5</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>175</left>
- <top>213</top>
- <right>199</right>
- <bottom>235</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>O</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "WLBOOY"
- end Roll</script>
- </part>
- <part>
- <id>8</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>85</left>
- <top>243</top>
- <right>108</right>
- <bottom>265</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>C</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "COPMOW"
- end Roll</script>
- </part>
- <part>
- <id>9</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>112</left>
- <top>249</top>
- <right>135</right>
- <bottom>271</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>N</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "TODLNR"
- end Roll</script>
- </part>
- <part>
- <id>10</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>140</left>
- <top>245</top>
- <right>163</right>
- <bottom>267</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>E</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "AAAEEE"
- end Roll</script>
- </part>
- <part>
- <id>11</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>179</left>
- <top>241</top>
- <right>202</right>
- <bottom>263</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>A</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "AAAEEE"
- end Roll</script>
- </part>
- <part>
- <id>12</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>81</left>
- <top>276</top>
- <right>104</right>
- <bottom>298</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>U</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "SUIRGM"
- end Roll</script>
- </part>
- <part>
- <id>13</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>116</left>
- <top>277</top>
- <right>139</right>
- <bottom>299</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>U</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "HIFSUR"
- end Roll</script>
- </part>
- <part>
- <id>7</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>145</left>
- <top>277</top>
- <right>170</right>
- <bottom>300</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>C</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "GDCJMK"
- end Roll</script>
- </part>
- <part>
- <id>3</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>171</left>
- <top>272</top>
- <right>196</right>
- <bottom>295</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Q</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "WVSSQY"
- end Roll</script>
- </part>
- <part>
- <id>6</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>88</left>
- <top>309</top>
- <right>113</right>
- <bottom>332</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>B</name>
- <script>on mouseDown
- handleCubeClick (the number of me)
- end mouseDown
-
- on Roll
- handleRoll (the number of me), "PFNHLB"
- end Roll</script>
- </part>
- <part>
- <id>14</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>341</left>
- <top>243</top>
- <right>396</right>
- <bottom>263</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Score</name>
- <script>on mouseUp
- global gameState, numPlayers, curPlayer, vulScore, winningScore
- if gameState = "readyToScore" then
- put field Score into savedScore
- repeat with i = 3 to 10
- do "send Score to field " & quote & i & " Letter Words" & quote
- end repeat
- if savedScore ‚â• vulScore then --if vulnerable, check score above 500
- if field Score - savedScore < 500 then
- put savedScore - 500 into field Score
- end if
- end if
- put "-:--" into field Timer
- if field Score ‚â• winningScore then
- gameOver
- else
- set lockscreen to true
- go next card
- if (the name of this card) ≠ "card " & quote & "HQ Preferences" & quote then
- answer "Get ready for the next roll!" with "OK"
- go previous card
- set lockscreen to false
- visual effect scroll left
- go next card
- else
- answer "Get ready for the next roll!" with "OK"
- go previous card
- set lockscreen to false
- visual effect scroll right
- go card "Player 1"
- end if
- setGameState "readyToPlay"
- end if
- end if
- --put gameState
- end mouseUp</script>
- </part>
- <part>
- <id>15</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>342</left>
- <top>199</top>
- <right>501</right>
- <bottom>220</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Clear word in progress</name>
- <script>on mouseUp
- global newWord
- put empty into newWord
- put empty into field "New Word"
- repeat with i = 1 to 13
- set the hilite of bkgnd button i to false
- end repeat
- end mouseUp
- </script>
- </part>
- <part>
- <id>16</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>341</left>
- <top>265</top>
- <right>415</right>
- <bottom>285</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Roll</name>
- <script>on mouseUp
- global secsOffset, gameState, newWord, vulScore
- --put gameState
- if gameState = "justOpened" then
- send mouseUp to bkgnd button "New Game"
- end if
- if gameState = "readyToPlay" then
- set cursor to 4
- -- check for vulnerability
- if field "Score" ‚â• vulScore then
- show bkgnd button 11
- show bkgnd button 12
- show bkgnd button 13
- hide field "3 Letter Words"
- end if
- -- clear out word lists
- repeat with i = 3 to 10
- do "put empty into field " & quote & i & " Letter Words" & quote
- end repeat
- play "harpsichord" tempo 70 "c4 c c c c5 c c c"
- resetCubes
- put empty into newWord
- put empty into field "New Word"
- put the secs into secsOffset
- setGameState "clockRunning"
- else
- if gameState = "clockRanOut" or gameState = "readyToScore" then
- answer "Please score this roll first." with "OK"
- end if
- end if
- --put gameState
- end mouseUp
-
- on resetCubes
- put 0 into j
- put 0 into k
- repeat with i = 1 to 13
- send Roll to bkgnd button i
- put random(10) into r1
- put random(10) into r2
- set the location of bkgnd button i to 90+30*k+r1, 220+30*j+r2
- if i mod 4 = 0 then
- add 1 to j
- put 0 into k
- else
- add 1 to k
- end if
- end repeat
- end resetCubes
- </script>
- </part>
- <part>
- <id>17</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>342</left>
- <top>152</top>
- <right>501</right>
- <bottom>197</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Word</name>
- <script>on mouseUp
- global newWord, gameState
- put length(newWord) into wLen
- if wLen ≥ 3 and wLen ≤ 10 and ¬
- gameState = "clockRunning" then
- -- set lockscreen to true
- put quote & wLen & " Letter Words" & quote into fName
- if wLen > 3 and char wLen of newWord = "S" then
- put quote & wLen-1 & " Letter Words" & quote into singularFName
- do "put field " & singularFName & "into temp1"
- put (char 1 to (wLen-1) of newWord) into singularWord
- else
- put "!" into temp1
- put "%" into singularWord
- end if
- do "put field " & fName & "into temp2"
- if offset(newWord, temp2) = 0 and ¬
- offset(singularWord, temp1) = 0 then
- do "put newWord & return after field " & fName
- wordSound
- do "put the number of lines in field " & fName & " into temp"
- if temp ‚â• 5 then
- wordSound
- end if
- else errorSound
- else errorSound
- put empty into newWord
- repeat with i = 1 to 13
- set the hilite of bkgnd button i to false
- end repeat
- set the cursor to 0
- end mouseUp
-
- on wordSound
- play "harpsichord" tempo 1500 "c4 e5 g6"
- end wordSound
- </script>
- </part>
- <part>
- <id>20</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>341</left>
- <top>291</top>
- <right>415</right>
- <bottom>316</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>18</textSize>
- <textStyle>plain</textStyle>
- <textHeight>24</textHeight>
- <name>Score</name>
- <script></script>
- </part>
- <part>
- <id>21</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>5</left>
- <top>152</top>
- <right>170</right>
- <bottom>171</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>12</textSize>
- <textStyle>bold</textStyle>
- <textHeight>16</textHeight>
- <name>New Word</name>
- <script></script>
- </part>
- <part>
- <id>22</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>5</left>
- <top>81</top>
- <right>40</right>
- <bottom>145</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>3 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 and field "Score" < 2000 then
- put 50 into base
- if nLines > 5 then put 5 into nLines
- add 10*nLines to base
- add base to field Score
- end if
- end Score</script>
- </part>
- <part>
- <id>24</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>43</left>
- <top>81</top>
- <right>80</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>4 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 100 into base
- add 20*nLines to base
- add base to field Score
- if nLines = 5 and ¬
- the number of lines of field "3 Letter Words" = 5 and ¬
- field Score < 2000 then
- add 300 to field Score
- end if
- end if
- end Score
- </script>
- </part>
- <part>
- <id>25</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>83</left>
- <top>81</top>
- <right>128</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>5 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 150 into base
- add 50*nLines to base
- add base to field Score
- if nLines = 5 and ¬
- the number of lines of field "4 Letter Words" = 5 then
- add 500 to field Score
- end if
- end if
- end Score</script>
- </part>
- <part>
- <id>26</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>131</left>
- <top>81</top>
- <right>183</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>6 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 200 into base
- add 100*nLines to base
- add base to field Score
- if nLines = 5 and ¬
- the number of lines of field "4 Letter Words" = 5 then
- add 800 to field Score
- end if
- end if
- end Score</script>
- </part>
- <part>
- <id>27</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>186</left>
- <top>81</top>
- <right>250</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>7 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 350 into base
- add 150*nLines to base
- add base to field Score
- if nLines = 5 and ¬
- the number of lines of field "4 Letter Words" = 5 then
- add 1200 to field Score
- end if
- end if
- end Score</script>
- </part>
- <part>
- <id>28</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>253</left>
- <top>81</top>
- <right>324</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>8 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 500 into base
- add 250*nLines to base
- add base to field Score
- if nLines = 5 and ¬
- the number of lines of field "4 Letter Words" = 5 then
- add 1850 to field Score
- end if
- end if
- end Score</script>
- </part>
- <part>
- <id>29</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>327</left>
- <top>81</top>
- <right>410</right>
- <bottom>146</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>9 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- put 500 into base
- add 500*nLines to base
- add base to field Score
- end if
- end Score</script>
- </part>
- <part>
- <id>30</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>413</left>
- <top>81</top>
- <right>500</right>
- <bottom>145</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>10 Letter Words</name>
- <script>on Score
- put the number of lines of field (the number of me) into nLines
- if nLines > 0 then
- if nLines > 5 then put 5 into nLines
- add 1500*nLines to field Score
- end if
- end Score</script>
- </part>
- <part>
- <id>32</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>417</left>
- <top>265</top>
- <right>501</right>
- <bottom>285</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>New Game</name>
- <script>on mouseUp
- global gameState, newWord
- if the optionKey is down then
- resetGame
- else
- if gameState ≠ "justOpened" and gameState ≠ "gameOver" then
- --we're in the middle of a game
- answer "End the current game?" with "Yes" or "Cancel"
- if it = "Yes" then newGame --we've already inited cards
- exit mouseUp
- end if
- end if
- repeat with i = 1 to 13
- set the hilite of bkgnd button i to false
- end repeat
- hide bkgnd button 11
- hide bkgnd button 12
- hide bkgnd button 13
- show field "3 Letter Words"
- repeat
- ask "How many players?" with 1
- if it is empty then
- setGameState "justOpened"
- exit mouseUp
- end if
- if it ‚â• "0" and it ‚â§ "9" then
- exit repeat
- else answer "Please enter a number." with "OK"
- end repeat
- if it > 1 then
- repeat with i = 1 to it
- ask "What is the name of player " & i & "?"
- put it into playerName
- if i > 1 then
- set lockscreen to true
- doMenu "New Card"
- set the name of this card to "Player" & i
- end if
- put playerName into field Username
- end repeat
- else
- ask "What is your name?"
- put it into field Username
- end if
- setGameState "readyToPlay"
- go card "Player 1"
- put 0 into field Score
- end mouseUp
- </script>
- </part>
- <part>
- <id>33</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>426</left>
- <top>291</top>
- <right>488</right>
- <bottom>316</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>18</textSize>
- <textStyle>plain</textStyle>
- <textHeight>24</textHeight>
- <name>Timer</name>
- <script></script>
- </part>
- <part>
- <id>34</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>173</left>
- <top>152</top>
- <right>303</right>
- <bottom>171</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>12</textSize>
- <textStyle>bold</textStyle>
- <textHeight>16</textHeight>
- <name>Username</name>
- <script></script>
- </part>
- <part>
- <id>47</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>398</left>
- <top>243</top>
- <right>501</right>
- <bottom>263</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Preferences</name>
- <script>on mouseUp
- global gameState
- if gameState ≠ "gameOver" and gameState ≠ "justOpened" then
- answer "End the current game?" with "Yes" or "Cancel"
- if it is "Cancel" then exit mouseUp
- end if
- resetGame
- visual effect zoom out
- go card "HQ Preferences"
- end mouseUp</script>
- </part>
- <part>
- <id>40</id>
- <type>field</type>
- <visible> <false /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>1</left>
- <top>78</top>
- <right>511</right>
- <bottom>341</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>16</textHeight>
- <name>Screen Mask</name>
- <script></script>
- </part>
- <part>
- <id>43</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>342</left>
- <top>222</top>
- <right>501</right>
- <bottom>241</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Pause</name>
- <script>on mouseUp
- global gameState, secsOffset, pauseOffset
- if gameState = "clockRunning" then
- if the name of bkgnd button (the number of me) contains "Pause" then
- show field "Screen Mask"
- set the name of bkgnd button (the number of me) to "Resume"
- put the secs into pauseOffset
- else
- hide field "Screen Mask"
- set the name of bkgnd button (the number of me) to "Pause"
- add (the secs - pauseOffset) to secsOffset
- end if
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>48</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>470</left>
- <top>39</top>
- <right>502</right>
- <bottom>68</bottom>
- </rect>
- <style>transparent</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>2478</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>About</name>
- <script>on mouseUp
- global gameState
- if gameState ≠ "gameOver" and gameState ≠ "justOpened" then
- answer "End the current game?" with "Yes" or "Cancel"
- if it is "Cancel" then exit mouseUp
- end if
- resetGame
- go card "Welcome"
- end mouseUp
-
- </script>
- </part>
- <part>
- <id>50</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>5</left>
- <top>188</top>
- <right>302</right>
- <bottom>206</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Press Return to start a new game</name>
- <script></script>
- </part>
- <name>Playing Grounds</name>
- <script>on idle
- global secsOffset, newWord, gameState, playingTime
- --put gameState
- if gameState = "clockRunning" then
- put 0 into m
- if the visible of field "Screen Mask" is true then
- exit idle
- end if
- put playingTime-(the secs-secsOffset) into s
- put s div 60 into m
- put s mod 60 into s
- if s < 10 then put "0" before s
- if playingTime-(the secs-secsOffset) < 0 then
- setGameState "clockRanOut"
- else
- put m & ":" & s into field Timer
- put newWord into field "New Word"
- end if
- else if gameState = "clockRanOut" then
- play "harpsichord" tempo 1000 "c5 d e f g a b c6"
- setGameState "readyToScore"
- end if
- --put gameState
- end idle
-
- on handleCubeClick
- global newWord, gameState
- if gameState = "clockRunning" then
- put param(1) into buttonName
- if the optionKey is down then
- repeat while the mouse is down
- set the location of bkgnd button buttonName to the mouseloc
- end repeat
- else
- if the shiftKey is down then
- set the hilite of bkgnd button buttonName to false
- put length(newWord) into l
- if l = 1 then put 0 into m else put 1 into m
- put char m to l-1 of newWord into newWord
- else
- play "Harpsichord" tempo 1000 "e6"
- if the hilite of bkgnd button buttonName is false then
- put char 15 of the name of bkgnd button buttonName after newWord
- set the hilite of bkgnd button buttonName to true
- else errorSound
- end if
- end if
- end if
- end handleCubeClick
-
- on gameOver
- global newWord, gameState
- answer "Congratulations, " & field Username & ", you win!" ¬
- with "Done" or "Play again"
- put it into theAnswer
- setGameState "gameOver"
- if theAnswer is "Done" then
- resetGame
- go card "Welcome"
- else
- newGame
- end if
- end gameOver
-
- on newGame
- global gameState
- set cursor to 4
- set lockscreen to true
- go card "Player 1"
- put 0 into field Score
- go next card
- put 2 into i
- repeat
- if (the name of this card) = "card " & quote & "HQ Preferences" ¬
- & quote
- then
- exit repeat
- end if
- put 0 into field Score
- put empty into field "New Word"
- add 1 to i
- go next card
- end repeat
- go card "Player 1"
- hide bkgnd button 11
- hide bkgnd button 12
- hide bkgnd button 13
- show field "3 Letter Words"
- setGameState "readyToPlay"
- end newGame
-
- on returnKey
- global gameState
- if the message box is empty or ¬
- the visible of the message box is false then
- if gameState = "readyToScore" then
- set the hilite of bkgnd button "Score" to true
- set the hilite of bkgnd button "Score" to false
- send mouseUp to bkgnd button "Score"
- exit returnKey
- end if
- if gameState = "readyToPlay" then
- set the hilite of bkgnd button "New Roll" to true
- set the hilite of bkgnd button "New Roll" to false
- send mouseUp to bkgnd button "New Roll"
- exit returnKey
- end if
- if gameState = "justOpened" or gameState = "gameOver" then
- set the hilite of bkgnd button "New Game" to true
- set the hilite of bkgnd button "New Game" to false
- send mouseUp to bkgnd button "New Game"
- exit returnKey
- end if
- else do the message box
- end returnKey
-
- on enterKey
- returnKey
- end enterKey
-
- on arrowKey
- errorSound
- end arrowKey
-
- on handleRoll
- put param(1) into buttonName
- put param(2) into letters
- set the name of bkgnd button buttonName to any char of letters
- set the hilite of bkgnd button buttonName to false
- end handleRoll
-
- on setGameState newState
- global gameState
- put newState into gameState
- if gameState = "gameOver" or gameState = "justOpened" then
- set the name of bkgnd button id 50 to ¬
- "Press Return to start a new game"
- show bkgnd button id 50
- else if gameState = "readyToPlay" then
- set the name of bkgnd button id 50 to ¬
- "Press Return to roll the dice"
- show bkgnd button id 50
- else if gameState = "readyToScore" then
- set the name of bkgnd button id 50 to ¬
- "Press Return to score the round"
- show bkgnd button id 50
- else if gameState = "clockRunning" then
- hide bkgnd button id 50
- end if
- end setGameState
-
- </script>
- </background>
-